
const state = {
	api: {
		GLOBAL_sys_login:'/sys/login',//密码登录
		//上传
		GLOBAL_sys_common_upload:'/sys/common/upload',//附件上传
		imageServe:'http://47.106.152.46:8088/jxc/sys/common/static/',//图片预览+文件名
		
		GLOBAL_setting_setting_queryTableList:'/setting/setting/queryTableList',//查询数据库所有表
		GLOBAL_setting_setting_queryColumnLists:'/setting/setting/queryColumnLists',//查询数据库表中所有字段
		GLOBAL_setting_fieldControl_add:'/setting/fieldControl/add',//字段设置-添加
		GLOBAL_setting_fieldControl_edit:'/setting/fieldControl/edit',//字段设置-编辑
		GLOBAL_setting_fieldControl_list:'/setting/fieldControl/list',//字段设置-分页列表查询
		GLOBAL_setting_fieldControl_delete:'/setting/fieldControl/delete',//字段设置-通过id删除
		GLOBAL_setting_fieldControl_queryListByMenuNo:'/setting/fieldControl/queryListByMenuNo',//根据菜单名查询字段列表
		
		// 主数据管理
		// 客户资料
		GLOBAL_masterData_customer_list:'/masterData/customer/list',//客户分页数据
		GLOBAL_masterData_customer_add:'/masterData/customer/add',//客户添加
		GLOBAL_masterData_customer_edit:'/masterData/customer/edit',//客户编辑
		GLOBAL_masterData_customer_deleteBatch:'/masterData/customer/deleteBatch',//客户批量删除
		GLOBAL_masterData_customer_delete:'/masterData/customer/delete',//客户ID删除
		GLOBAL_masterData_customer_queryById:'/masterData/customer/queryById',//客户ID查询
		GLOBAL_masterData_customer_exportXls:'/masterData/customer/exportXls',//导出
		GLOBAL_masterData_customer_updateCustomerCheckStatusByIds:'/masterData/customer/updateCustomerCheckStatusByIds',//审批
		//供应商资料
		GLOBAL_masterData_supplier_list:'/masterData/supplier/list',//供应商分页数据
		GLOBAL_masterData_supplier_add:'/masterData/supplier/add',//供应商添加
		GLOBAL_masterData_supplier_edit:'/masterData/supplier/edit',//供应商编辑
		GLOBAL_masterData_supplier_deleteBatch:'/masterData/supplier/deleteBatch',//供应商批量删除
		GLOBAL_masterData_supplier_delete:'/masterData/supplier/delete',//供应商ID删除
		GLOBAL_masterData_supplier_queryById:'/masterData/supplier/queryById',//供应商ID查询
		GLOBAL_masterData_supplier_exportXls:'/masterData/supplier/exportXls',//导出
		GLOBAL_masterData_supplier_updateSupplierCheckStatusByIds:'/masterData/supplier/updateSupplierCheckStatusByIds',//审批
		//商品主档
		GLOBAL_masterdata_material_list:'/masterdata/material/list',//商品分页数据
		GLOBAL_masterdata_material_add:'/masterdata/material/add',//商品添加
		GLOBAL_masterdata_material_edit:'/masterdata/material/edit',//商品编辑
		GLOBAL_masterdata_material_deleteBatch:'/masterdata/material/deleteBatch',//商品批量删除
		GLOBAL_masterdata_material_delete:'/masterdata/material/delete',//商品ID删除
		GLOBAL_masterdata_material_queryById:'/masterdata/material/queryById',//商品ID查询
		GLOBAL_masterdata_material_exportXls:'/masterdata/material/exportXls',//导出
		GLOBAL_masterdata_material_updateMaterialCheckStatusByIds:'/masterdata/material/updateMaterialCheckStatusByIds',//审批
		
		//单价管理
		//报价单【采购报价，销售报价】报价类型 01：采购报价单 02：销售报价单
		GLOBAL_quotation_quotation_add:'/quotation/quotation/add',//新增
		GLOBAL_quotation_quotation_delete:'/quotation/quotation/delete',//删除
		GLOBAL_quotation_quotation_edit:'/quotation/quotation/edit',//编辑
		GLOBAL_quotation_quotation_list:'/quotation/quotation/list',//分页列表
		GLOBAL_quotation_quotation_queryById:'/quotation/quotation/queryById',//id查询
		GLOBAL_quotation_quotation_queryQuotationDetailByQuotationNo:'/quotation/quotation/queryQuotationDetailByQuotationNo',//报价单明细主表quotationNo查询
		//单价【采购单价，销售单价】
		GLOBAL_masterdata_materialPrice_add:'/masterdata/materialPrice/add',//新增
		GLOBAL_masterdata_materialPrice_delete:'/masterdata/materialPrice/delete',//删除
		GLOBAL_masterdata_materialPrice_edit:'/masterdata/materialPrice/edit',//编辑
		GLOBAL_masterdata_materialPrice_list:'/masterdata/materialPrice/list',//分页列表
		GLOBAL_masterdata_materialPrice_queryById:'/masterdata/materialPrice/queryById',//id查询
		GLOBAL_masterdata_materialPrice_queryMaterialPriceDetailListByPriceNo:'/masterdata/materialPrice/queryMaterialPriceDetailListByPriceNo',//单价明细通过主表priceNo查询
		
		//需求计划
		// 采购申请
		GLOBAL_buy_buyRequest_add:'/buy/buyRequest/add',//新增
		GLOBAL_buy_buyRequest_delete:'/buy/buyRequest/delete',//删除
		GLOBAL_buy_buyRequest_edit:'/buy/buyRequest/edit',//编辑
		GLOBAL_buy_buyRequest_list:'/buy/buyRequest/list',//分页列表
		GLOBAL_buy_buyRequest_queryById:'/buy/buyRequest/queryById',//id查询
		GLOBAL_buy_buyRequest_queryBuyRequestDetailByMainId:'/buy/buyRequest/queryBuyRequestDetailByMainId',//采购申请明细主表ID查询
		GLOBAL_buy_buyRequest_updateRequestCheckStatusByIds:'/buy/buyRequest/updateRequestCheckStatusByIds',//审批
		
		
		//采购管理
		// 采购订单
		
		
		//系统管理
		//菜单权限
		GLOBAL_sys_permission_getUserPermissionByToken:'/sys/permission/getUserPermissionByToken',//菜单的权限
		GLOBAL_sys_permission_addPermission:'/sys/permission/addPermission',//添加
		GLOBAL_sys_permission_deletePermission:'/sys/permission/deletePermission',//删除
		GLOBAL_sys_permission_queryMenuList:'/sys/permission/queryMenuList',//查询
		GLOBAL_sys_permission_editPermission:'/sys/permission/editPermission',//编辑
		GLOBAL_sys_permission_queryRolePermission:'/sys/permission/queryRolePermission',//查询角色授权
		GLOBAL_sys_permission_saveRolePermission:'/sys/permission/saveRolePermission',//保存角色授权
		//角色管理
		GLOBAL_sys_role_list:'/sys/role/list',//角色-分页列表查询
		GLOBAL_sys_role_add:'/sys/role/add',//角色-添加
		GLOBAL_sys_role_delete:'/sys/role/delete',//角色-删除
		GLOBAL_sys_role_queryById:'/sys/role/queryById',//角色-id查询
		GLOBAL_sys_role_queryall:'/sys/role/queryall',//所有角色不分页
		//用户管理
		GLOBAL_sys_user_add:'/sys/user/add',//新增用户
		GLOBAL_sys_user_delete:'/sys/user/delete',//删除用户
		GLOBAL_sys_user_edit:'/sys/user/edit',//编辑用户
		GLOBAL_sys_user_list:'/sys/user/list',//用户列表
		
		//字典管理
		// 税率，税码
		GLOBAL_setting_tax_add:'/setting/tax/add',//新增
		GLOBAL_setting_tax_delete:'/setting/tax/delete',//删除
		GLOBAL_setting_tax_edit:'/setting/tax/edit',//编辑
		GLOBAL_setting_tax_list:'/setting/tax/list',//分页列表
		GLOBAL_setting_tax_queryById:'/setting/tax/queryById',//id查询
		//分销渠道[分销编号]
		GLOBAL_setting_saleChannel_add:'/setting/saleChannel/add',//新增
		GLOBAL_setting_saleChannel_delete:'/setting/saleChannel/delete',//删除
		GLOBAL_setting_saleChannel_edit:'/setting/saleChannel/edit',//编辑
		GLOBAL_setting_saleChannel_list:'/setting/saleChannel/list',//分页列表
		GLOBAL_setting_saleChannel_queryById:'/setting/saleChannel/queryById',//id查询
		//出入库类型
		GLOBAL_setting_movement_add:'/setting/movement/add',//新增
		GLOBAL_setting_movement_delete:'/setting/movement/delete',//删除
		GLOBAL_setting_movement_edit:'/setting/movement/edit',//编辑
		GLOBAL_setting_movement_list:'/setting/movement/list',//分页列表
		GLOBAL_setting_movement_queryById:'/setting/movement/queryById',//id查询
		//结算方式
		GLOBAL_setting_settlement_add:'/setting/settlement/add',//新增
		GLOBAL_setting_settlement_delete:'/setting/settlement/delete',//删除
		GLOBAL_setting_settlement_edit:'/setting/settlement/edit',//编辑
		GLOBAL_setting_settlement_list:'/setting/settlement/list',//分页列表
		GLOBAL_setting_settlement_queryById:'/setting/settlement/queryById',//id查询
		//付款方式
		GLOBAL_setting_payment_add:'/setting/payment/add',//新增
		GLOBAL_setting_payment_delete:'/setting/payment/delete',//删除
		GLOBAL_setting_payment_edit:'/setting/payment/edit',//编辑
		GLOBAL_setting_payment_list:'/setting/payment/list',//分页列表
		GLOBAL_setting_payment_queryById:'/setting/payment/queryById',//id查询
		//单据格式【出货单格式，报价单格式】
		GLOBAL_setting_printFormat_add:'/setting/printFormat/add',//新增
		GLOBAL_setting_printFormat_delete:'/setting/printFormat/delete',//删除
		GLOBAL_setting_printFormat_edit:'/setting/printFormat/edit',//编辑
		GLOBAL_setting_printFormat_list:'/setting/printFormat/list',//分页列表
		GLOBAL_setting_printFormat_queryById:'/setting/printFormat/queryById',//id查询
		//商品分类
		GLOBAL_setting_materialCatalog_add:'/setting/materialCatalog/add',//新增
		GLOBAL_setting_materialCatalog_delete:'/setting/materialCatalog/delete',//删除
		GLOBAL_setting_materialCatalog_edit:'/setting/materialCatalog/edit',//编辑
		GLOBAL_setting_materialCatalog_list:'/setting/materialCatalog/list',//分页列表
		GLOBAL_setting_materialCatalog_queryById:'/setting/materialCatalog/queryById',//id查询
		//计量单位
		GLOBAL_setting_unit_add:'/setting/unit/add',//新增
		GLOBAL_setting_unit_delete:'/setting/unit/delete',//删除
		GLOBAL_setting_unit_edit:'/setting/unit/edit',//编辑
		GLOBAL_setting_unit_list:'/setting/unit/list',//分页列表
		GLOBAL_setting_unit_queryById:'/setting/unit/queryById',//id查询
		//类型管理
		GLOBAL_setting_businessType_add:'/setting/businessType/add',//新增
		GLOBAL_setting_businessType_delete:'/setting/businessType/delete',//删除
		GLOBAL_setting_businessType_edit:'/setting/businessType/edit',//编辑
		GLOBAL_setting_businessType_list:'/setting/businessType/list',//分页列表
		GLOBAL_setting_businessType_queryById:'/setting/businessType/queryById',//id查询
		//币别
		GLOBAL_setting_coin_add:'/setting/coin/add',//新增
		GLOBAL_setting_coin_delete:'/setting/coin/delete',//删除
		GLOBAL_setting_coin_edit:'/setting/coin/edit',//编辑
		GLOBAL_setting_coin_list:'/setting/coin/list',//分页列表
		GLOBAL_setting_coin_queryById:'/setting/coin/queryById',//id查询
		//地点代码【地点编号】
		GLOBAL_setting_site_add:'/setting/site/add',//新增
		GLOBAL_setting_site_delete:'/setting/site/delete',//删除
		GLOBAL_setting_site_edit:'/setting/site/edit',//编辑
		GLOBAL_setting_site_list:'/setting/site/list',//分页列表
		GLOBAL_setting_site_queryById:'/setting/site/queryById',//id查询
		//公司代码【发票公司，单价公司】
		GLOBAL_setting_company_add:'/setting/company/add',//新增
		GLOBAL_setting_company_delete:'/setting/company/delete',//删除
		GLOBAL_setting_company_edit:'/setting/company/edit',//编辑
		GLOBAL_setting_company_list:'/setting/company/list',//分页列表
		GLOBAL_setting_company_queryById:'/setting/company/queryById',//id查询
		//库存代码【库存地点】
		GLOBAL_setting_location_add:'/setting/location/add',//新增
		GLOBAL_setting_location_delete:'/setting/location/delete',//删除
		GLOBAL_setting_location_edit:'/setting/location/edit',//编辑
		GLOBAL_setting_location_list:'/setting/location/list',//分页列表
		GLOBAL_setting_location_queryById:'/setting/location/queryById',//id查询
	}
}

const mutations = {
}

const actions = {
}

export default {
	namespaced: true,
	state,
	mutations,
	actions
}
